<!-- 启用|停用模板 -->
<script th:fragment="pa_enum_DataStatus" type="text/html" id="DataStatusTpl" th:inline="none">
    {{#  if(d.dataStatus == 0){ }}
    <span class="layui-btn layui-btn-normal layui-btn-xs">已启用</span>

    {{#  } else if(d.dataStatus == 1) { }}
    <span class="layui-btn layui-btn-warm layui-btn-xs">已禁用</span>

    {{#  } else if(d.dataStatus == 2) { }}
    <span class="layui-btn layui-btn-warm layui-btn-xs">已保留</span>

    {{#  } else if(d.dataStatus == 9) { }}
    <span class="layui-btn layui-btn-warm layui-btn-xs">已删除</span>

    {{#  } }}
</script>
